package com.easylinkin.linkappapi.facerecognition.service.rest;

import com.google.gson.JsonObject;
import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.PartMap;

import java.util.Map;

/**
 * koala 图片静态识别接口客户端
 */
public interface KoalaRecognizeClientService {

    @Multipart
    @POST("/recognize")
    Call<JsonObject> recognize(@Part MultipartBody.Part photo, @Part("screen_token") RequestBody token);
}
